
//  Copyright (C) 2007 Richard Uhler

//?d:Esiply.set_attributes should work?
//?e:1

foo = new Object();
foo.bar = "sludge";

// Count how many enumerations we get now
count = 0;
for (x in foo)
{
    count++;
}

// Now un-enumerate foo.bar
Esiply.set_attributes(foo, "bar", Esiply.DONT_ENUM);

for (x in foo)
{
    count--;
}
print(count);

